/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 */
'use strict';
import React, {
    AppRegistry,
    Component
} from 'react-native';

import { createStore } from 'redux';
import { Provider } from 'react-redux/native';

import App from './app/app';
import groupersApp from './app/reducers';

let store = createStore(groupersApp);

class Groupers extends Component {
    render() {
        return (
            <Provider store={store}>
                {() => <App />}
            </Provider>
        );
    }
}

AppRegistry.registerComponent('Groupers', () => Groupers);
